import mockjs from 'mockjs'
import { MockMethod } from 'vite-plugin-mock'
const ajaxHeadersTokenKey = 'x-token'
export default [
  {
    url: '/api/reviewlList',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        data: [
          {
            id: 1,
            area: '广东省江门市', // 标题
            hospital: '江门市中心医院',
            date: '2023-05-29 15：33：21',
            status: 1,
            total: 8,
            content: '2023年第一季度小儿内科',
          },
          {
            id: 2,
            area: '广东省广州市', // 标题
            hospital: '广东省中医院',
            date: '2023-05-29 15：33：21',
            status: 2,
            total: 8,
            content: '2023年第一季度小儿内科',
          },
          {
            id: 3,
            area: '湖南省衡阳市', // 标题
            hospital: '衡阳市第一人民医院',
            date: '2023-05-29 15：33：21',
            status: 3,
            total: 8,
            content: '2023年第一季度小儿内科',
          },
        ],
      }
    },
  },
  {
    url: '/api/reviewInfo',
    method: 'get',
    response: ({ body }) => {
      return {
        code: 200,
        data: {
          reason: '白班、夜班工作时长调整为 8：00-18：00',
          createDate: '2023-05-29 15：3',
          status: 3,
          denialReason: '合肥市看到回复is的GIF的国际',
          list: [
            {
              id: 1,
              title: '护士数量配置相关数据', // 标题
              varableList: [
                {
                  id: 1,
                  title: '本季度实际开放床位数',
                  oldvalue: 860,
                  value: 213,
                },
                {
                  id: 2,
                  title: '季初全员执业护士总人数',
                  oldvalue: 500,
                  value: 645,
                },
                {
                  id: 3,
                  title: '季末全员执业护士总人数',
                  oldvalue: 507,
                  value: 645,
                },
                {
                  id: 4,
                  title: '季初住院病区执业护士总人数',
                  oldvalue: 362,
                  value: 645,
                },
                {
                  id: 5,
                  title: '季末住院病区执业护士总人数',
                  oldvalue: 94,

                  value: 645,
                },
                {
                  id: 6,
                  title: '季尾住院病区执业护士总人数',
                  oldvalue: 164,
                  value: 645,
                },
                {
                  id: 7,
                  title: '巅峰住院病区执业护士总人数',
                  oldvalue: 264,
                  value: 645,
                },
                {
                  id: 8,
                  title: '眼科住院病区执业护士总人数',
                  oldvalue: 314,
                  value: 645,
                },
                {
                  id: 9,
                  title: '呼吸科住院病区执业护士总人数',
                  oldvalue: 368,
                  value: 645,
                },
              ],
            },
            {
              id: 2,
              title: '病人数量配置相关数据', // 标题
              varableList: [
                {
                  id: 1,
                  title: '本季度实际开放床位数',
                  oldvalue: 860,
                  value: 645,
                },
                {
                  id: 2,
                  title: '季初全员执业护士总人数',
                  oldvalue: 500,
                  value: 645,
                },
                {
                  id: 3,
                  title: '季末全员执业护士总人数',
                  oldvalue: 507,
                  value: 645,
                },
                {
                  id: 4,
                  title: '季初住院病区执业护士总人数',
                  oldvalue: 362,
                  value: 645,
                },
                {
                  id: 5,
                  title: '季末住院病区执业护士总人数',
                  oldvalue: 364,
                  value: 645,
                },
                {
                  id: 6,
                  title: '季尾住院病区执业护士总人数',
                  oldvalue: 164,
                  value: 645,
                },
                {
                  id: 7,
                  title: '巅峰住院病区执业护士总人数',
                  oldvalue: 264,
                  value: 645,
                },
                {
                  id: 8,
                  title: '眼科住院病区执业护士总人数',
                  oldvalue: 314,
                  value: 645,
                },
                {
                  id: 9,
                  title: '呼吸科住院病区执业护士总人数',
                  oldvalue: 368,
                  value: 645,
                },
              ],
            },
          ],
        },
      }
    },
  },
] as MockMethod[]
